Smush\Core\Transform\Transformer S

Total Complexity 41
Dependencies 5
Dependents 2
Total lines 189
Lines of code 125
Logical lines of code 66
Comment lines 27
Methods 13
Properties 4

Methods 13

Method Rating Maintainability Complexity Lines of code
transform_rest_content_field()
S
55 5 21
transform_rest_media_response()
S
59 5 14
transform_content()
S
61 5 13
transform_rest_response()
S
60 4 13
is_array_post_like()
S
70 4 6
prepare_transforms()
S
63 4 10
transform_single_rest_item()
S
63 3 10
transform_rest_content_fields()
S
66 3 9
apply_transform_to_content()
S
66 2 8
transform_url()
S
71 2 6
get_transforms()
S
72 2 6
__construct()
S
73 1 5
get_rest_content_fields()
S
75 1 4